package com.go.where.manager.service;

import com.go.where.manager.page.Pagination;
import com.go.where.manager.pojo.OrderInfo;
import com.go.where.manager.pojo.user.UserInfoVO;

/**
 * 活动小类信息Service
 * 
 * @author java
 * 
 */
public interface OrderService {

	/**
	 * 根据主键id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public OrderInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param orderInfo
	 * @return
	 */
	public Pagination<OrderInfo> queryPage(OrderInfo orderInfo);

	/**
	 * 修改信息
	 * 
	 * @param orderInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int update(OrderInfo orderInfo, UserInfoVO currentUser);

}
